 <template>
  <a-modal
    :title="title"
    :width="800"
    :visible="visible"
    :confirmLoading="confirmLoading"
    @cancel="handleCancel"
    :footer="null"
    cancelText="关闭">

    <table id="table_report" class="table table-striped table-bordered table-hover">

           			<tr>
           				<!-- <td style="width:90px;text-align: right;padding-top: 80px;">基本信息:</td> -->
           				<td>
           					<p style="float: left;">


             停车场编号：<span id="parkCode" >
           {{result.parkCode }}
                    </span><br>


             停车场名称：<span id="parkName" >
           {{result.parkName }}
                    </span><br>


             停车场位置：<span id="parkPosition" >
           {{result.parkPosition }}
                    </span><br>


             停车场经度：<span id="longitude" >
           {{result.longitude }}
                    </span><br>


             停车场维度：<span id="dimension" >
           {{result.dimension }}
                    </span><br>


             停车场联系人电话：<span id="parkTel" >
           {{result.parkTel }}
                    </span><br>


             停车管理人员：<span id="parkManger" >
           {{result.parkManger }}
                    </span><br>


             停车场头像：<span id="parkIcon" >
           {{result.parkIcon }}
                    </span><br>


             停车场状态<!--，1正常，2停止：--><span id="parkStatus" >
           {{result.parkStatus }}
                    </span><br>
                      停车场收费方式<!--，1停车场收费，2云端收费：--><span id="chargeMode" >
           {{result.chargeMode }}
                    </span><br>


             省编码：<span id="provinceCode" >
           {{result.provinceCode }}
                    </span><br>


             省份：<span id="provinceName" >
           {{result.provinceName }}
                    </span><br>


             市编码：<span id="cityCode" >
           {{result.cityCode }}
                    </span><br>


             城市：<span id="cityName" >
           {{result.cityName }}
                    </span><br>


             区编码：<span id="areaCode" >
           {{result.areaCode }}
                    </span><br>


             区名称：<span id="areaName" >
           {{result.areaName }}
                    </span><br>


             商户id：<span id="merchantId" >
           {{result.merchantId }}
                    </span><br>


             商户名称：<span id="merchantName" >
           {{result.merchantName }}
                    </span><br>


             商户账号：<span id="merchantAcct" >
           {{result.merchantAcct }}
                    </span><br>


             开票类型： <!--0-蓝字发票；1-红字发票：--><span id="kplx" >
           {{result.kplx }}
                    </span><br>


             征税方式 <!--0：普通征税，1：减按计征，2：差额征税-->：<span id="zsfs" >
           {{result.zsfs }}
                    </span><br>


             销售方纳税人识别号：<span id="xsfNsrsbh" >
           {{result.xsfNsrsbh }}
                    </span><br>


             销售方名称：<span id="xsfMc" >
           {{result.xsfMc }}
                    </span><br>


             销售方地址、电话：<span id="xfsDzdh" >
           {{result.xfsDzdh }}
                    </span><br>


             销售方银行账号：<span id="xsfYhzh" >
           {{result.xsfYhzh }}
                    </span><br>


             发票状态<!--（0，未开通，1，国票，2百旺）-->：<span id="invoiceType" >
           {{result.invoiceType }}
                    </span><br>


             发票请求头：<span id="invoiceHead" >
           {{result.invoiceHead }}
                    </span><br>


             开票人：<span id="openPerson" >
           {{result.openPerson }}
                    </span><br>


             收款人：<span id="moneyPerson" >
           {{result.moneyPerson }}
                    </span><br>


             复核人：<span id="checkPerson" >
           {{result.checkPerson }}
                    </span><br>


             税率：<span id="taxRate" >
           {{result.taxRate }}
                    </span><br>


             创建人：<span id="createUser" >
           {{result.createUser }}
                    </span><br>

  创建时间：<span id="createTime" >
           {{result.createTime }}
                    </span><br>

  更新日期：<span id="updateTime" >
           {{result.updateTime }}
  </span><br>
	</p>
			<!-- </td>
                			</tr>

                				<tr>
                                    <td style="width:90px;text-align: right;padding-top: 60px;">详情:</td>
                                    <td>
                                        <p style="float: left;">


                                        </p>-->
                                    </td>
                            	</tr>

                			<tr>
                				<td style="text-align: center" colspan="10">
                                 <a-button type="primary" @click="close">关闭</a-button>
                				</td>
                			</tr>
                		</table>

  </a-modal>
</template>

<script>
  import { httpAction } from '@/api/manage'
  import pick from 'lodash.pick'
  import moment from "moment"

  export default {
    name: "ParkInfoDetail",
    data () {
      return {
        title:"操作",
        visible: false,
        model: {},
        labelCol: {
          xs: { span: 24 },
          sm: { span: 5 },
        },
        wrapperCol: {
          xs: { span: 24 },
          sm: { span: 16 },
        },
         result: {

                },
        confirmLoading: false,
        form: this.$form.createForm(this),
        validatorRules:{
        },
        url: {
          add: "/parking/parkInfo/add",
          edit: "/parking/parkInfo/edit",
        },
      }
    },
    created () {
    },
    methods: {
      add() {
        this.edit({});
      },
      edit(record) {
             Object.assign(this.result, record);
              this.visible = true;
            },
      close() {
        this.$emit('close');
        this.visible = false;
      } ,
      handleCancel() {
        this.close()
      }


    }
  }
</script>

<style lang="less" scoped>

</style>